package com.gsmr.service.impl;

import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.gsmr.dao.DecodingDao;
import com.gsmr.entity.Decoding;
import com.gsmr.entity.TCH_Signaling;
import com.gsmr.service.DecodingService;

/**
 * 用户Service实现类
 * @author user
 *
 */
@Service("decodingService")
public class DecodingServiceImpl implements DecodingService{

	@Resource
	private DecodingDao decodingDao;

	public List<Decoding> find(Map<String, Object> map) {
		return decodingDao.find(map);
	}
	public List<String> findTableNames(Map<String, Object> map) {
		return decodingDao.findTableNames(map);
	}
	public List<String> findThread_id(Map<String, Object> map) {
		return decodingDao.findThread_id(map);
	}

	public List<TCH_Signaling> findSignaling(Map<String, Object> map) {
		return decodingDao.findSignaling(map);
	}
	public List<TCH_Signaling> findSignalingASC(Map<String, Object> map) {
		return decodingDao.findSignalingASC(map);
	}

	public Long getTotal(Map<String, Object> map) {
		return decodingDao.getTotal(map);
	}

	public int update(Map<String,Object> map) {
		return decodingDao.update(map);
	}

	public int add(Map<String,Object> map) {
		return decodingDao.add(map);
	}

	public int delete(Map<String,Object> map) {
		return decodingDao.delete(map);
	}

	public List<Decoding> findByIds(Map<String, Object> map) {
		return decodingDao.findByIds(map);
	}

	public List<String> findFrontProcessorIds(Map<String, Object> map) {
		return decodingDao.findFrontProcessorIds(map);
	}
	
	public List<Decoding> findIMSIs(Map<String, Object> map) {
		return decodingDao.findIMSIs(map);
	}
	
	public List<Decoding> findMSISDNs(Map<String, Object> map) {
		return decodingDao.findMSISDNs(map);
	}
	
	public List<Decoding> findCTCS_IDs(Map<String, Object> map) {
		return decodingDao.findCTCS_IDs(map);
	}

	@Override
	public List<TCH_Signaling> findByTimestamp(Map<String, Object> m) {
		// TODO Auto-generated method stub
		return decodingDao.findByTimestamp(m);
	}
}
